/**
 * Proyecto: Cognitum
 * Global IT Services 2010
 * @author Mislas
 */
Cognitum.MesaDeControl.Calendario.Entity = function(){
    Cognitum.MesaDeControl.Calendario.Entity.superclass.constructor.call(this);
}

Ext.extend(Cognitum.MesaDeControl.Calendario.Entity, Karma.Core.Entity, {
    id: 'Calendario.Entity',
    name: 'Calendario',
	
	getMainPanel: function() {
		var ds = new Ext.ux.calendar.DataSource();
		ds.entity = this;
        return new Ext.ux.calendar.MainPanel({
            title:'Calendario Mesa de Control',
            datasource: ds
            //calendarSetting:cs,
            //userId:userId
        });
	}
});

Cognitum.CalendarioMesaControl = Cognitum.MesaDeControl.Calendario.Entity;
